package com.molichuxing.gateway.bff.orders.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class DataVo extends ResponseRootDto {
	private static final long serialVersionUID = 3159065608822491331L;

	@ApiModelProperty(value = "名")
	private String name;

	@ApiModelProperty(value = "值")
	private String value;
	
	@ApiModelProperty(value = "说明")
	private String explain;
	
	@ApiModelProperty(value = "名是否高亮（0：否，1：是）")
	private Boolean nameHighlight = false;
	
	@ApiModelProperty(value = "值是否高亮（0：否，1：是）")
	private Boolean valueHighlight = false;
	
	@ApiModelProperty(value = "说明是否高亮（0：否，1：是）")
	private Boolean explainHighlight = false;
	
	public DataVo(){}
	
	public DataVo(String name, String value){
		this.name = name;
		this.value = value;
	}
	
	public DataVo(String name, String value, String explain){
		this.name = name;
		this.value = value;
		this.explain= explain;
	}
	
	public DataVo(String name, Boolean nameHighlight, String value, Boolean valueHighlight, String explain,
			Boolean explainHighlight) {
		this.name = name;
		this.nameHighlight = nameHighlight;
		this.value = value;
		this.valueHighlight = valueHighlight;
		this.explain= explain;
		this.explainHighlight = explainHighlight;
	}
}
